﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Douban.API.Domain
{
    [DataContract]
    public class Rating : BaseObject
    {
        [DataMember(Name = "max")]
        public double Max { get; set; }

        [DataMember(Name = "average")]
        public double Average { get; set; }

        [DataMember(Name = "numRaters")]
        public uint NumRaters { get; set; }

        [DataMember(Name = "min")]
        public double Min { get; set; }
    }
}
